

<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
  <meta charset="utf-8" />
  
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  
  <title>Ceph 存储集群 &mdash; Ceph Documentation</title>
  

  
  <link rel="stylesheet" href="../_static/ceph.css" type="text/css" />
  <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
  <link rel="stylesheet" href="../_static/graphviz.css" type="text/css" />
  <link rel="stylesheet" href="../_static/css/custom.css" type="text/css" />

  
  
    <link rel="shortcut icon" href="../_static/favicon.ico"/>
  

  
  

  

  
  <!--[if lt IE 9]>
    <script src="../_static/js/html5shiv.min.js"></script>
  <![endif]-->
  
    
      <script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
        <script src="../_static/jquery.js"></script>
        <script src="../_static/underscore.js"></script>
        <script src="../_static/doctools.js"></script>
    
    <script type="text/javascript" src="../_static/js/theme.js"></script>

    
    <link rel="index" title="Index" href="../genindex/" />
    <link rel="search" title="Search" href="../search/" />
    <link rel="next" title="配置" href="configuration/" />
    <link rel="prev" title="Notes and Thoughts on Cephadm’s scalability" href="../dev/cephadm/scalability-notes/" /> 
</head>

<body class="wy-body-for-nav">

   
  <header class="top-bar">
    

















<div role="navigation" aria-label="breadcrumbs navigation">

  <ul class="wy-breadcrumbs">
    
      <li><a href="../" class="icon icon-home"></a> &raquo;</li>
        
      <li>Ceph 存储集群</li>
    
    
      <li class="wy-breadcrumbs-aside">
        
          
            <a href="../_sources/rados/index.rst.txt" rel="nofollow"> View page source</a>
          
        
      </li>
    
  </ul>

  
  <hr/>
</div>
  </header>
  <div class="wy-grid-for-nav">
    
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search"  style="background: #eee" >
          

          
            <a href="../">
          

          
            
            <img src="../_static/logo.png" class="logo" alt="Logo"/>
          
          </a>

          

          
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="../search/" method="get">
    <input type="text" name="q" placeholder="Search docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>

          
        </div>

        
        <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
          
            
            
              
            
            
              <ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../start/intro/">Ceph 简介</a></li>
<li class="toctree-l1"><a class="reference internal" href="../install/">安装 Ceph</a></li>
<li class="toctree-l1"><a class="reference internal" href="../cephadm/">Cephadm</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">Ceph 存储集群</a><ul>
<li class="toctree-l2"><a class="reference internal" href="configuration/">配置</a></li>
<li class="toctree-l2"><a class="reference internal" href="operations/">运维</a></li>
<li class="toctree-l2"><a class="reference internal" href="man/">    手册页</a></li>
<li class="toctree-l2"><a class="reference internal" href="troubleshooting/">故障排除</a></li>
<li class="toctree-l2"><a class="reference internal" href="api/">APIs</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../cephfs/">Ceph 文件系统</a></li>
<li class="toctree-l1"><a class="reference internal" href="../rbd/">Ceph 块设备</a></li>
<li class="toctree-l1"><a class="reference internal" href="../radosgw/">Ceph 对象网关</a></li>
<li class="toctree-l1"><a class="reference internal" href="../mgr/">Ceph 管理器守护进程</a></li>
<li class="toctree-l1"><a class="reference internal" href="../mgr/dashboard/">Ceph 仪表盘</a></li>
<li class="toctree-l1"><a class="reference internal" href="../api/">API 文档</a></li>
<li class="toctree-l1"><a class="reference internal" href="../architecture/">体系结构</a></li>
<li class="toctree-l1"><a class="reference internal" href="../dev/developer_guide/">开发者指南</a></li>
<li class="toctree-l1"><a class="reference internal" href="../dev/internals/">Ceph 内幕</a></li>
<li class="toctree-l1"><a class="reference internal" href="../governance/">项目管理</a></li>
<li class="toctree-l1"><a class="reference internal" href="../foundation/">Ceph 基金会</a></li>
<li class="toctree-l1"><a class="reference internal" href="../ceph-volume/">ceph-volume</a></li>
<li class="toctree-l1"><a class="reference internal" href="../releases/general/">Ceph 版本（总目录）</a></li>
<li class="toctree-l1"><a class="reference internal" href="../releases/">Ceph 版本（索引）</a></li>
<li class="toctree-l1"><a class="reference internal" href="../security/">Security</a></li>
<li class="toctree-l1"><a class="reference internal" href="../glossary/">Ceph 术语</a></li>
<li class="toctree-l1"><a class="reference internal" href="../jaegertracing/">Tracing</a></li>
<li class="toctree-l1"><a class="reference internal" href="../translation_cn/">中文版翻译资源</a></li>
</ul>

            
          
        </div>
        
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">

      
      <nav class="wy-nav-top" aria-label="top navigation">
        
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
          <a href="../">Ceph</a>
        
      </nav>


      <div class="wy-nav-content">
        
        <div class="rst-content">
        
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">
            
<div id="dev-warning" class="admonition note">
  <p class="first admonition-title">Notice</p>
  <p class="last">This document is for a development version of Ceph.</p>
</div>
  <div id="docubetter" align="right" style="padding: 5px; font-weight: bold;">
    <a href="https://pad.ceph.com/p/Report_Documentation_Bugs">Report a Documentation Bug</a>
  </div>

  
  <div class="section" id="ceph">
<span id="rados-index"></span><h1>Ceph 存储集群<a class="headerlink" href="#ceph" title="Permalink to this headline">¶</a></h1>
<p>所有 Ceph 部署都始于 <a class="reference internal" href="../glossary/#term-7"><span class="xref std std-term">Ceph 存储集群</span></a>。基于
<abbr title="Reliable Autonomic Distributed Object Store ，可靠自主的分布式对象存储">RADOS</abbr> 的 Ceph 存储集群包括几类守护进程：</p>
<blockquote>
<div><ol class="arabic simple">
<li><p><a class="reference internal" href="../glossary/#term-23"><span class="xref std std-term">Ceph OSD 守护进程</span></a>（ OSD ）把存储节点上的数据存储为对象；</p></li>
<li><p><a class="reference internal" href="../glossary/#term-24"><span class="xref std std-term">Ceph 监视器</span></a>（ MON ）维护集群运行图的主副本；</p></li>
<li><p><a class="reference internal" href="../glossary/#term-26"><span class="xref std std-term">Ceph 管理器</span></a> 守护进程</p></li>
</ol>
</div></blockquote>
<p>一个 Ceph 集群可以包含数千个存储节点，最简系统至少需要一个监视器和两个 OSD 守护进程才能做到数据复制。</p>
<p>Ceph 文件系统、 Ceph 对象存储、和 Ceph 块设备从 Ceph 存储集群读出和写入数据。</p>
<div class="columns-3 docutils container">
<div class="column docutils container">
<h3>配置和部署</h3><p>Ceph 存储集群有少量配置选项是必要的，但大多数都有默认值。
典型部署是通过部署工具定义集群、并启动监视器的。
详情见<a class="reference internal" href="../cephadm/#cephadm"><span class="std std-ref">Cephadm</span></a>。</p>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="configuration/">配置</a><ul>
<li class="toctree-l2"><a class="reference internal" href="configuration/storage-devices/">存储设备</a></li>
<li class="toctree-l2"><a class="reference internal" href="configuration/ceph-conf/">配置 Ceph</a></li>
<li class="toctree-l2"><a class="reference internal" href="configuration/common/">通用选项</a></li>
<li class="toctree-l2"><a class="reference internal" href="configuration/common/#ceph-network-config">网络</a></li>
<li class="toctree-l2"><a class="reference internal" href="configuration/common/#id3">监视器</a></li>
<li class="toctree-l2"><a class="reference internal" href="configuration/common/#ceph-osd-config">认证</a></li>
<li class="toctree-l2"><a class="reference internal" href="configuration/common/#osds">OSDs</a></li>
<li class="toctree-l2"><a class="reference internal" href="configuration/common/#id5">心跳</a></li>
<li class="toctree-l2"><a class="reference internal" href="configuration/common/#ceph-logging-and-debugging">日志记录、调试</a></li>
<li class="toctree-l2"><a class="reference internal" href="configuration/common/#ceph-conf">ceph.conf 实例</a></li>
<li class="toctree-l2"><a class="reference internal" href="configuration/common/#ceph-runtime-config">跑多个集群（已废弃）</a></li>
<li class="toctree-l2"><a class="reference internal" href="configuration/network-config-ref/">网络选项</a></li>
<li class="toctree-l2"><a class="reference internal" href="configuration/msgr2/">信使协议 v2</a></li>
<li class="toctree-l2"><a class="reference internal" href="configuration/auth-config-ref/">认证选项</a></li>
<li class="toctree-l2"><a class="reference internal" href="configuration/mon-config-ref/">监视器选项</a></li>
<li class="toctree-l2"><a class="reference internal" href="configuration/mon-lookup-dns/">通过 DNS 查询监视器</a></li>
<li class="toctree-l2"><a class="reference internal" href="configuration/mon-osd-interaction/">心跳选项（监视器与 OSD 的的交互）</a></li>
<li class="toctree-l2"><a class="reference internal" href="configuration/osd-config-ref/">OSD 选项</a></li>
<li class="toctree-l2"><a class="reference internal" href="configuration/mclock-config-ref/">DmClock 配置</a></li>
<li class="toctree-l2"><a class="reference internal" href="configuration/bluestore-config-ref/">BlueStore 配置</a></li>
<li class="toctree-l2"><a class="reference internal" href="configuration/filestore-config-ref/">FileStore 配置</a></li>
<li class="toctree-l2"><a class="reference internal" href="configuration/journal-ref/">日志选项</a></li>
<li class="toctree-l2"><a class="reference internal" href="configuration/pool-pg-config-ref/">存储池、归置组和 CRUSH 选项</a></li>
<li class="toctree-l2"><a class="reference internal" href="configuration/general-config-ref/">常规选项</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="column docutils container">
<h3>运维、操作</h3><p>部署完一个 Ceph 存储集群后就可以操作它了。</p>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="operations/">运维</a><ul>
<li class="toctree-l2"><a class="reference internal" href="operations/operating/">操纵集群</a></li>
<li class="toctree-l2"><a class="reference internal" href="operations/health-checks/">健康检查</a></li>
<li class="toctree-l2"><a class="reference internal" href="operations/monitoring/">监控集群</a></li>
<li class="toctree-l2"><a class="reference internal" href="operations/monitoring-osd-pg/">监控 OSD 和归置组</a></li>
<li class="toctree-l2"><a class="reference internal" href="operations/user-management/">用户管理</a></li>
<li class="toctree-l2"><a class="reference internal" href="operations/pg-repair/">修复 PG 不一致状态</a></li>
<li class="toctree-l2"><a class="reference internal" href="operations/data-placement/">数据归置概览</a></li>
<li class="toctree-l2"><a class="reference internal" href="operations/pools/">存储池</a></li>
<li class="toctree-l2"><a class="reference internal" href="operations/erasure-code/">纠删码</a></li>
<li class="toctree-l2"><a class="reference internal" href="operations/cache-tiering/">分级缓存</a></li>
<li class="toctree-l2"><a class="reference internal" href="operations/placement-groups/">归置组</a></li>
<li class="toctree-l2"><a class="reference internal" href="operations/balancer/">均衡器</a></li>
<li class="toctree-l2"><a class="reference internal" href="operations/upmap/">使用 pg-upmap</a></li>
<li class="toctree-l2"><a class="reference internal" href="operations/crush-map/">CRUSH 图</a></li>
<li class="toctree-l2"><a class="reference internal" href="operations/crush-map-edits/">手动编辑一个 CRUSH 图</a></li>
<li class="toctree-l2"><a class="reference internal" href="operations/stretch-mode/">Stretch Clusters</a></li>
<li class="toctree-l2"><a class="reference internal" href="operations/change-mon-elections/">Configure Monitor Election Strategies</a></li>
<li class="toctree-l2"><a class="reference internal" href="operations/add-or-rm-osds/">增加/删除 OSD</a></li>
<li class="toctree-l2"><a class="reference internal" href="operations/add-or-rm-mons/">增加/删除监视器</a></li>
<li class="toctree-l2"><a class="reference internal" href="operations/devices/">设备管理</a></li>
<li class="toctree-l2"><a class="reference internal" href="operations/bluestore-migration/">迁移到 BlueStore</a></li>
<li class="toctree-l2"><a class="reference internal" href="operations/control/">命令参考</a></li>
<li class="toctree-l2"><a class="reference internal" href="troubleshooting/community/">Ceph 社区</a></li>
<li class="toctree-l2"><a class="reference internal" href="troubleshooting/troubleshooting-mon/">监视器故障排除</a></li>
<li class="toctree-l2"><a class="reference internal" href="troubleshooting/troubleshooting-osd/">OSD 故障排除</a></li>
<li class="toctree-l2"><a class="reference internal" href="troubleshooting/troubleshooting-pg/">归置组排障</a></li>
<li class="toctree-l2"><a class="reference internal" href="troubleshooting/log-and-debug/">日志记录和调试</a></li>
<li class="toctree-l2"><a class="reference internal" href="troubleshooting/cpu-profiling/">CPU 剖析</a></li>
<li class="toctree-l2"><a class="reference internal" href="troubleshooting/memory-profiling/">内存剖析</a></li>
</ul>
</li>
</ul>
</div>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="man/">    手册页</a></li>
</ul>
</div>
<div class="toctree-wrapper compound">
</div>
</div>
<div class="column docutils container">
<h3>应用编程接口（ API ）</h3><p>大多数 Ceph 部署都使用了 <a class="reference external" href="../rbd/">Ceph 块设备</a>、
<a class="reference external" href="../radosgw/">Ceph 对象存储</a>和/或 <a class="reference external" href="../cephfs/">Ceph 文件系统</a>。也可以开发程序直接与 Ceph 对象存储对接。</p>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="api/">APIs</a><ul>
<li class="toctree-l2"><a class="reference internal" href="api/librados-intro/">librados 简介</a></li>
<li class="toctree-l2"><a class="reference internal" href="api/librados/">librados (C)</a></li>
<li class="toctree-l2"><a class="reference internal" href="api/libradospp/">librados (C++)</a></li>
<li class="toctree-l2"><a class="reference internal" href="api/python/">librados (Python)</a></li>
<li class="toctree-l2"><a class="reference internal" href="api/libcephsqlite/">libcephsqlite (SQLite)</a></li>
<li class="toctree-l2"><a class="reference internal" href="api/objclass-sdk/">object class</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>



           </div>
           
          </div>
          <footer>
    <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
        <a href="configuration/" class="btn btn-neutral float-right" title="配置" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
        <a href="../dev/cephadm/scalability-notes/" class="btn btn-neutral float-left" title="Notes and Thoughts on Cephadm’s scalability" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
    </div>

  <hr/>

  <div role="contentinfo">
    <p>
        &#169; Copyright 2016, Ceph authors and contributors. Licensed under Creative Commons Attribution Share Alike 3.0 (CC-BY-SA-3.0).

    </p>
  </div> 

</footer>
        </div>
      </div>

    </section>

  </div>
  

  <script type="text/javascript">
      jQuery(function () {
          SphinxRtdTheme.Navigation.enable(true);
      });
  </script>

  
  
    
   

</body>
</html>